import javax.jws.WebService;

@WebService(targetNamespace="http://localhost:63081/createProject")
public class CreateProjectService {

	public String createProject(String address, String description)
	{
		Project p = new Project(address);

		if(!(description.isEmpty() || description == "")) {
			p.setDescription(description);
		}

		ProjectContainer.getInstance().addProject(address, p);
		
		System.out.println(ProjectContainer.getInstance().getNoOfProjects());

		System.out.println("CONTAINER SIZE: " + ProjectContainer.getInstance().getNoOfProjects());
		System.out.println(ProjectContainer.getInstance());

		return address;
	}
}
